package Entity;

import java.util.Date;

import Controllers.GenericToolsForController.PDFfile;

public class DelayReport extends Report{
		Date startDate;
		Date endDate;
		
		public DelayReport (Worker creator, int reportId ,String comment,PDFfile pdfFile, Date startDate, Date endDate)
		{
	        this.creator = creator;
	        this.reportId = reportId;
	        this.comment = new String(comment);
	        this.pdfFile = pdfFile;
	        this.startDate = startDate;
	        this.endDate = endDate;
	        this.type = ReportType.DELAY;
		}
		public DelayReport (Worker creator, int reportId ,String comment,PDFfile pdfFile)
		{
	        this.creator = creator;
	        this.reportId = reportId;
	        this.comment = new String(comment);
	        this.pdfFile = pdfFile;
	        this.type = ReportType.DELAY;
		}
	}


